package org.asiainfo.audit.service;

import org.asiainfo.common.mybatis.core.page.TableDataInfo;
import org.asiainfo.common.mybatis.core.page.PageQuery;

import org.asiainfo.audit.domain.vo.TbAuditMessageVo;
import org.asiainfo.audit.domain.bo.TbAuditMessageBo;
import org.asiainfo.audit.domain.TbAuditMessage;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 审计信息Service接口
 *
 * @author dotor-ww
 * @since 2024-01-16 23:46:12
 */
public interface TbAuditMessageService extends IService<TbAuditMessage> {

    /**
     * 通过查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    TbAuditMessageVo queryById(Long id);

    /**
     * 分页查询
     *
     * @param tbAuditMessageBo 筛选条件
     * @param pageQuery        分页对象
     * @return 查询结果
     */
    TableDataInfo<TbAuditMessageVo> queryPageList(TbAuditMessageBo tbAuditMessageBo, PageQuery pageQuery);

    /**
     * 新增数据
     *
     * @param tbAuditMessageBos 实例对象
     */
    void insertBatchByBo(List<TbAuditMessageBo> tbAuditMessageBos);
}
